﻿using System;
using System.Collections.Generic;
using System.Text;
using Cashier_Utils;

namespace Cashier.pos
{
    /// <summary>
    /// 支付数据信息
    /// </summary>
    public class PayDataInfo
    {
        private ShipmentState shipmentState;

        /// <summary>
        /// 出货单状态
        /// </summary>
        public ShipmentState ShipmentState
        {
            get { return shipmentState; }
            set { shipmentState = value; }
        }

        private Payway payway;

        /// <summary>
        /// 支付方式
        /// </summary>
        public Payway Payway
        {
            get { return payway; }
            set { payway = value; }
        }

        private Decimal usedBalance = 0M;

        /// <summary>
        /// 使用余额
        /// </summary>
        public Decimal UsedBalance
        {
            get { return usedBalance; }
            set { usedBalance = value; }
        }

        private Decimal payableAmount = 0M;

        /// <summary>
        /// 应付金额
        /// </summary>
        public Decimal PayableAmount
        {
            get { return payableAmount; }
            set { payableAmount = value; }
        }

        private Decimal payAmount = 0M;

        /// <summary>
        /// 支付金额
        /// </summary>
        public Decimal PayAmount
        {
            get { return payAmount; }
            set { payAmount = value; }
        }

        private Decimal giveAmount = 0M;

        /// <summary>
        /// 找零金额
        /// </summary>
        public Decimal GiveAmount
        {
            get { return giveAmount; }
            set { giveAmount = value; }
        }

        private Decimal integralAmount = 0M;

        /// <summary>
        /// 使用积分兑换金额
        /// </summary>
        public Decimal IntegralAmount
        {
            get { return integralAmount; }
            set { integralAmount = value; }
        }

        private Int32 payIntegral = 0;

        /// <summary>
        /// 使用积分
        /// </summary>
        public Int32 PayIntegral
        {
            get { return payIntegral; }
            set { payIntegral = value; }
        }
    }
}
